<template>
  <div id="main-tab-bar">
    <tab-bar>
      <tab-bar-item path="/my">
        <img src="../assets/img/tabbar/My-200.svg" alt="" slot="item-icon">
        <img src="../assets/img/tabbar/My-200-active.svg" alt="" slot="item-icon-active">
        <div slot="item-text">我的</div>
      </tab-bar-item>
      <tab-bar-item path="/home">
        <img src="../assets/img/tabbar/home-200.svg" alt="" slot="item-icon">
        <img src="../assets/img/tabbar/home-200-active.svg" alt="" slot="item-icon-active">
        <div slot="item-text">首页</div>
      </tab-bar-item>
      <tab-bar-item path="/report">
        <img src="../assets/img/tabbar/report-200.svg" alt="" slot="item-icon">
        <img src="../assets/img/tabbar/report-200-active.svg" alt="" slot="item-icon-active">
        <div slot="item-text">报表</div>
      </tab-bar-item>
    </tab-bar>
  </div>
</template>

<script>

import TabBar from './tabBar/TabBar'
import TabBarItem from './tabBar/TabBarItem'

export default {
    name: 'MainTabBar',
    components: {
        TabBar,
        TabBarItem
    }
}
</script>

<style>
#main-tab-bar {
  height: 100%;
}

</style>